docs.rs failed to build pi_atom-0.2.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
pi_atom-0.5.0
pi_atom
全局的线程安全的原子字符串池,减少相同字符串的内存占用,也用于hashmap的键
如果全局该字符串最后一个引用被释放, 则该字符串会释放。
为了减少不停的创建和放入池的次数,高频单次的Atom,可以在应用层增加一个cache来缓冲Atom,定期检查引用计数来判断是否缓冲。